package day06;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        double[]scores=a(6);
    }
    public static double[]a(int n){
        double[]scores=new double[n];
        Scanner scan=new Scanner(System.in);
        for (int i=0;i<scores.length;i++){
            System.out.println("请输入"+(i+1)+"位评委的分数");
            scores[i]= scan.nextDouble();
        }
        return scores;
    }
}
